from django.conf.urls.defaults import patterns, include, url
from stu52_1116_310_9.views import contact, show, home, contact2, repair
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    ('^$', home),  # setup main page
    (r'^admin/', include(admin.site.urls)),  # page of admin
    (r'^input/$', contact),  # page of input broken computer page
    (r'^show/$', show),  # use function show to show table of all computer
    (r'^fixxx/$', contact2),  # page of input data about Repair
    (r'^repair/$', repair),  # use function repair to show table of all Repair
    # (r'^table/$', table),       # show table of data
    # (r'^create_com/$', contact3),
    # (r'^show/$', show),
    # (r'^create/$', create),
)
